package org.wlgzs.office_exam_student.entity;

/**
 * @author jxy
 * 操作题实体类
 */
public class OperateQuestion {
    public static final String GRADE_ONE = "计算机一级";
    public static final String GRADE_TWO = "计算机二级";
    
    public static final String TYPE_WORD = "word";
    public static final String TYPE_EXCEL = "excel";
    public static final String TYPE_PPT = "ppt";

    private int id;
    private String grade;//试卷等级（一级、二级）
    private String type;//类型（word、excel、ppt）
    private String title;//操作题操作要求
    //需求变，answer改为key,like one_ppt_1
    private String answer;//答案演示图片路径
    //解析的html
    private String analysis;//操作解析图片路径
  //需求变，sourceUrl改为key,like one_ppt_1
    private String sourceUrl;//源文件
    private int score;//分数
    
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getGrade() {
		return grade;
	}
	public void setGrade(String grade) {
		this.grade = grade;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public String getAnalysis() {
		return analysis;
	}
	public void setAnalysis(String analysis) {
		this.analysis = analysis;
	}
	public String getSourceUrl() {
		return sourceUrl;
	}
	public void setSourceUrl(String sourceUrl) {
		this.sourceUrl = sourceUrl;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	@Override
	public String toString() {
		return "OperateQuestion [id=" + id + ", grade=" + grade + ", type=" + type + ", title=" + title + ", answer="
				+ answer + ", analysis=" + analysis + ", sourceUrl=" + sourceUrl + ", score=" + score + "]";
	}
    
}
